<!DOCTYPE html>
<html>
<head th:include="include :: header"></head>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
        body, html {width: 100%;height: 100%;margin:0;font-family:"微软雅黑";}
        #allmap{width:100%;height:500px;}
    </style>
    <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=FhU5h94BlhuQP4FSvECsxCSgWCBovTwt"></script>
    <title>缩放地图</title>
</head>
<body>
<div style="margin-left: 5px" class="columns pull-left col-md-2 nopadding">
    <input id="searchName" type="text" class="form-control"
           placeholder="">
</div>
<div class="columns pull-left" style="margin-left: 5px">
    <button class="btn btn-success" onclick="searchAddress()">查询地址</button>
</div>
<div id="allmap"></div>
<input type="text" id="address" name="address" style="display: none;" class="layui-input">
<input type="text" id="lng" name="lng" style="display: none;" class="layui-input">
<input type="text" id="lat" name="lat" style="display: none;" class="layui-input">
<div th:include="include::footer"></div>
<script src="/js/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/appjs/farm/scenic/address.js"></script>
</body>
</html>
